﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace WebAssistant.BusinessLogic.Model
{
    /// <summary>
    /// 语言种类
    /// </summary>

    [SugarTable("languages")]
    public class Languages
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        [SugarColumn(ColumnName = "language_id")]
        public int LanguageId { get; set; }

        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        [SugarColumn(ColumnName = "code")]
        public string Code { get; set; }

        [SugarColumn(ColumnName = "iso_code")]
        public string IsoCode { get; set; }

        [SugarColumn(ColumnName = "url_code")]
        public string UrlCode { get; set; }

        [SugarColumn(ColumnName = "flag_image", IsNullable = true)]
        public string FlagImage { get; set; }

        [SugarColumn(ColumnName = "flag_image_url", IsNullable = true)]
        public string FlagImageUrl { get; set; }

        [SugarColumn(ColumnName = "active", IsNullable = true)]
        public Boolean Active { get; set; }
    }
}
